package main

import (
	"fmt"
	"time"
)

func main() {
	go sayHello()
	for i := 0; i < 5; i++ {
		fmt.Println("main")
		time.Sleep(time.Second)
	}
}

func sayHello() {
	for i := 0; i < 5; i++ {
		fmt.Println("hello")
		time.Sleep(time.Second)
	}
}
